﻿@{
    ViewBag.Title = "GetClassInfo";
    Layout = "~/Views/Shared/_SenchaPage.cshtml";
}


<h2>Get ClassInfo</h2>

<script type="text/javascript">
    Ext.application({
        name: 'GetClassInfo',
        launch: function () {
            var button = Ext.create('Ext.Button');
            var classObject = Ext.getClass(button);
            var className = Ext.getClassName(button);

            //Ext.Msg.alert(classObject);
            Ext.Msg.alert("class name: " + className);
            console.log("class name: " + className);
        }
    });
</script>



